package com.tyqx.hashchaindao.mapper;

import java.util.List;

import com.tyqx.hashchainbean.module.Authorize;
import com.tyqx.hashchainbean.vo.AuthorizeUpdateTimeVO;
import org.apache.ibatis.annotations.Param;

public interface AuthorizeMapper {

    public int insert(Authorize record);



    public int add(Authorize authorize);

    public int updateAuth(Integer recordId, String granteeId,String grantorId,Integer flag);

    public int updateAuthTime(AuthorizeUpdateTimeVO updateTimeVO);

    public List<Authorize> granteeGroup(String granteeUid,Integer flag);

    public List<Authorize>  grantorGroup(String grantorUid,Integer flag);


}